package cate.game.play.param;

import cate.game.play.part.FightTeam;
import easy.java.dev.note.NoteClass;
import easy.java.dev.note.NoteField;

@NoteClass("一方的战斗调整参数")
public class FightSideParam {

    @NoteField("附加技能")
    public SkillAppend skillAppend = new SkillAppend();

    @NoteField("附加buff")
    public BuffAppend buffAppend = new BuffAppend();

    @NoteField("附加属性")
    public AttrAppend attrAppend = new AttrAppend();

    @NoteField("血量继承")
    public HpExtend hpExtend = new HpExtend();


    public void beforeFight(FightTeam team) {
        skillAppend.beforeFight(team);
        buffAppend.beforeFight(team);
        attrAppend.beforeFight(team);
        hpExtend.beforeFight(team);
    }


    public void onFightBegin(FightTeam team) {
        hpExtend.onFightBegin(team);
    }
}
